package com.dime.physical.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 人员登记对象 dime_physicalregister
 *
 * @author Tiny
 * @date 2023-09-20
 */
public class DimePhysicalregister extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 体检编号 */
    @Excel(name = "体检编号")
    private String checkCode;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idNo;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 人员类型 */
    @Excel(name = "人员类型")
    private String personType;

    /** 体检类型 */
    @Excel(name = "体检类型")
    private String checkType;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private String idNoType;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 婚否 */
    @Excel(name = "婚否")
    private String marriage;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 套餐id */
    @Excel(name = "套餐id")
    private String basePackageId;

    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String packageName;

    /** 单位id */
    @Excel(name = "单位id")
    private String baseCompanyId;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String companyName;

    /** 登记日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "登记日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerDate;

    /** 体检日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "体检日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkDate;

    /** 渠道 */
    @Excel(name = "渠道")
    private String channel;

    /** 打印日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "打印日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportPrintDate;

    /** 主检日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "主检日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mainCheckDate;

    /** 报告打印 */
    @Excel(name = "报告打印")
    private String reportPrinter;

    /** 工种 */
    @Excel(name = "工种")
    private String jobType;

    /** 工号 */
    @Excel(name = "工号")
    private String empNo;

    /** 部门 */
    @Excel(name = "部门")
    private String dept;

    /** 在岗状态 */
    @Excel(name = "在岗状态")
    private String workStatus;

    /** 体检状态 */
    @Excel(name = "体检状态")
    private String completStatus;

    /** 危害因素 */
    @Excel(name = "危害因素")
    private String harmfacter;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 总工龄年 */
    @Excel(name = "总工龄年")
    private Long workYears;

    /** 总工龄月 */
    @Excel(name = "总工龄月")
    private Long workMonths;

    /** 接害工龄年 */
    @Excel(name = "接害工龄年")
    private Long touchYears;

    /** 接害工龄月 */
    @Excel(name = "接害工龄月")
    private Long touchMonths;

    /** 问诊标记 */
    @Excel(name = "问诊标记")
    private String needAsk;

    /** 复查标记 */
    @Excel(name = "复查标记")
    private String reCheckTag;

    /** 上次体检号 */
    @Excel(name = "上次体检号")
    private String lastCheckCode;

    /** 项目缺检 */
    @Excel(name = "项目缺检")
    private String combLack;

    /** 社保号 */
    @Excel(name = "社保号")
    private String socialCode;

    /**  */
    @Excel(name = "")
    private String serviceUid;

    /**  */
    @Excel(name = "")
    private String soaOrderNo;

    /**  */
    @Excel(name = "")
    private String platformTag;

    /**  */
    @Excel(name = "")
    private String checkResult;

    /** 主检结论 */
    @Excel(name = "主检结论")
    private String mainConclusion;

    /** 健康建议 */
    @Excel(name = "健康建议")
    private String healthSuggestion;

    /** 主检医生 */
    @Excel(name = "主检医生")
    private String mainCheckDoctor;

    /** 领取方式 */
    @Excel(name = "领取方式")
    private String takeReportType;

    /**  */
    @Excel(name = "")
    private Integer IsValid;

    /**  */
    @Excel(name = "")
    private String shopCode;

    /** 接害因素 */
    @Excel(name = "接害因素")
    private String touchHarms;
    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    @Excel(name = "头像")
    private String headUrl;



    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 国籍 */
    @Excel(name = "国籍")
    private String nationality;

    @Excel(name = "登记类型")
    private String registertype;


    /** 参加工作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "参加工作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startworkDate;

    /** 接触危害日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接触危害日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date touharmDate;

    /** 审核撤销标记次数 */
    @Excel(name = "审核撤销标记次数")
    private Long mainCheckRevoke;

    /** 审核撤销内容 */
    @Excel(name = "审核撤销内容")
    private String mainCheckRevokeMark;
    private  byte[] headpicture;


    public byte[] getHeadpicture() {
        return headpicture;
    }

    public void setHeadpicture(byte[] headpicture) {
        this.headpicture = headpicture;
    }




    public void setNation(String nation) {
        this.nation = nation;
    }


    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCheckCode(String checkCode)
    {
        this.checkCode = checkCode;
    }

    public String getCheckCode()
    {
        return checkCode;
    }
    public void setIdNo(String idNo)
    {
        this.idNo = idNo;
    }

    public String getIdNo()
    {
        return idNo;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPersonType(String personType)
    {
        this.personType = personType;
    }

    public String getPersonType()
    {
        return personType;
    }
    public void setCheckType(String checkType)
    {
        this.checkType = checkType;
    }

    public String getCheckType()
    {
        return checkType;
    }
    public void setIdNoType(String idNoType)
    {
        this.idNoType = idNoType;
    }

    public String getIdNoType()
    {
        return idNoType;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setAge(Long age)
    {
        this.age = age;
    }

    public Long getAge()
    {
        return age;
    }
    public void setMarriage(String marriage)
    {
        this.marriage = marriage;
    }

    public String getMarriage()
    {
        return marriage;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setBirthday(Date birthday)
    {
        this.birthday = birthday;
    }

    public Date getBirthday()
    {
        return birthday;
    }
    public void setBasePackageId(String basePackageId)
    {
        this.basePackageId = basePackageId;
    }

    public String getBasePackageId()
    {
        return basePackageId;
    }
    public void setPackageName(String packageName)
    {
        this.packageName = packageName;
    }

    public String getPackageName()
    {
        return packageName;
    }
    public void setBaseCompanyId(String baseCompanyId)
    {
        this.baseCompanyId = baseCompanyId;
    }

    public String getBaseCompanyId()
    {
        return baseCompanyId;
    }
    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }

    public String getCompanyName()
    {
        return companyName;
    }
    public void setRegisterDate(Date registerDate)
    {
        this.registerDate = registerDate;
    }

    public Date getRegisterDate()
    {
        return registerDate;
    }
    public void setCheckDate(Date checkDate)
    {
        this.checkDate = checkDate;
    }

    public Date getCheckDate()
    {
        return checkDate;
    }
    public void setChannel(String channel)
    {
        this.channel = channel;
    }

    public String getChannel()
    {
        return channel;
    }
    public void setReportPrintDate(Date reportPrintDate)
    {
        this.reportPrintDate = reportPrintDate;
    }

    public Date getReportPrintDate()
    {
        return reportPrintDate;
    }
    public void setMainCheckDate(Date mainCheckDate)
    {
        this.mainCheckDate = mainCheckDate;
    }

    public Date getMainCheckDate()
    {
        return mainCheckDate;
    }
    public void setReportPrinter(String reportPrinter)
    {
        this.reportPrinter = reportPrinter;
    }

    public String getReportPrinter()
    {
        return reportPrinter;
    }
    public void setJobType(String jobType)
    {
        this.jobType = jobType;
    }

    public String getJobType()
    {
        return jobType;
    }
    public void setEmpNo(String empNo)
    {
        this.empNo = empNo;
    }

    public String getEmpNo()
    {
        return empNo;
    }
    public void setDept(String dept)
    {
        this.dept = dept;
    }

    public String getDept()
    {
        return dept;
    }
    public void setWorkStatus(String workStatus)
    {
        this.workStatus = workStatus;
    }

    public String getWorkStatus()
    {
        return workStatus;
    }
    public void setCompletStatus(String completStatus)
    {
        this.completStatus = completStatus;
    }

    public String getCompletStatus()
    {
        return completStatus;
    }
    public void setHarmfacter(String harmfacter)
    {
        this.harmfacter = harmfacter;
    }

    public String getHarmfacter()
    {
        return harmfacter;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setWorkYears(Long workYears)
    {
        this.workYears = workYears;
    }

    public Long getWorkYears()
    {
        return workYears;
    }
    public void setWorkMonths(Long workMonths)
    {
        this.workMonths = workMonths;
    }

    public Long getWorkMonths()
    {
        return workMonths;
    }
    public void setTouchYears(Long touchYears)
    {
        this.touchYears = touchYears;
    }

    public Long getTouchYears()
    {
        return touchYears;
    }
    public void setTouchMonths(Long touchMonths)
    {
        this.touchMonths = touchMonths;
    }

    public Long getTouchMonths()
    {
        return touchMonths;
    }
    public void setNeedAsk(String needAsk)
    {
        this.needAsk = needAsk;
    }

    public String getNeedAsk()
    {
        return needAsk;
    }
    public void setReCheckTag(String reCheckTag)
    {
        this.reCheckTag = reCheckTag;
    }

    public String getReCheckTag()
    {
        return reCheckTag;
    }
    public void setLastCheckCode(String lastCheckCode)
    {
        this.lastCheckCode = lastCheckCode;
    }

    public String getLastCheckCode()
    {
        return lastCheckCode;
    }
    public void setCombLack(String combLack)
    {
        this.combLack = combLack;
    }

    public String getCombLack()
    {
        return combLack;
    }
    public void setSocialCode(String socialCode)
    {
        this.socialCode = socialCode;
    }

    public String getSocialCode()
    {
        return socialCode;
    }
    public void setServiceUid(String serviceUid)
    {
        this.serviceUid = serviceUid;
    }

    public String getServiceUid()
    {
        return serviceUid;
    }
    public void setSoaOrderNo(String soaOrderNo)
    {
        this.soaOrderNo = soaOrderNo;
    }

    public String getSoaOrderNo()
    {
        return soaOrderNo;
    }
    public void setPlatformTag(String platformTag)
    {
        this.platformTag = platformTag;
    }

    public String getPlatformTag()
    {
        return platformTag;
    }
    public void setCheckResult(String checkResult)
    {
        this.checkResult = checkResult;
    }

    public String getCheckResult()
    {
        return checkResult;
    }
    public void setMainConclusion(String mainConclusion)
    {
        this.mainConclusion = mainConclusion;
    }

    public String getMainConclusion()
    {
        return mainConclusion;
    }
    public void setHealthSuggestion(String healthSuggestion)
    {
        this.healthSuggestion = healthSuggestion;
    }

    public String getHealthSuggestion()
    {
        return healthSuggestion;
    }
    public void setMainCheckDoctor(String mainCheckDoctor)
    {
        this.mainCheckDoctor = mainCheckDoctor;
    }

    public String getMainCheckDoctor()
    {
        return mainCheckDoctor;
    }
    public void setTakeReportType(String takeReportType)
    {
        this.takeReportType = takeReportType;
    }

    public String getTakeReportType()
    {
        return takeReportType;
    }
    public void setIsValid(Integer IsValid)
    {
        this.IsValid = IsValid;
    }

    public Integer getIsValid()
    {
        return IsValid;
    }
    public void setShopCode(String shopCode)
    {
        this.shopCode = shopCode;
    }

    public String getShopCode()
    {
        return shopCode;
    }

    public void setTouchHarms(String touchHarms)
    {
        this.touchHarms = touchHarms;
    }

    public String getTouchHarms()
    {
        return touchHarms;
    }

    public String getNation()
    {
        return nation;
    }
    public void setNationality(String nationality)
    {
        this.nationality = nationality;
    }

    public String getNationality()
    {
        return nationality;
    }

    public void setRegistertype(String registertype)
    {
        this.registertype = registertype;
    }

    public String getRegistertype()
    {
        return registertype;
    }

    public void setStartworkDate(Date startworkDate)
    {
        this.startworkDate = startworkDate;
    }

    public Date getStartworkDate()
    {
        return startworkDate;
    }
    public void setTouharmDate(Date touharmDate)
    {
        this.touharmDate = touharmDate;
    }

    public Date getTouharmDate()
    {
        return touharmDate;
    }

    public void setMainCheckRevoke(Long mainCheckRevoke)
    {
        this.mainCheckRevoke = mainCheckRevoke;
    }

    public Long getMainCheckRevoke()
    {
        return mainCheckRevoke;
    }
    public void setMainCheckRevokeMark(String mainCheckRevokeMark)
    {
        this.mainCheckRevokeMark = mainCheckRevokeMark;
    }

    public String getMainCheckRevokeMark()
    {
        return mainCheckRevokeMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("checkCode", getCheckCode())
                .append("idNo", getIdNo())
                .append("name", getName())
                .append("personType", getPersonType())
                .append("checkType", getCheckType())
                .append("idNoType", getIdNoType())
                .append("sex", getSex())
                .append("age", getAge())
                .append("marriage", getMarriage())
                .append("phone", getPhone())
                .append("address", getAddress())
                .append("birthday", getBirthday())
                .append("basePackageId", getBasePackageId())
                .append("packageName", getPackageName())
                .append("baseCompanyId", getBaseCompanyId())
                .append("companyName", getCompanyName())
                .append("registerDate", getRegisterDate())
                .append("checkDate", getCheckDate())
                .append("channel", getChannel())
                .append("reportPrintDate", getReportPrintDate())
                .append("mainCheckDate", getMainCheckDate())
                .append("reportPrinter", getReportPrinter())
                .append("jobType", getJobType())
                .append("empNo", getEmpNo())
                .append("dept", getDept())
                .append("workStatus", getWorkStatus())
                .append("completStatus", getCompletStatus())
                .append("harmfacter", getHarmfacter())
                .append("password", getPassword())
                .append("workYears", getWorkYears())
                .append("workMonths", getWorkMonths())
                .append("touchYears", getTouchYears())
                .append("touchMonths", getTouchMonths())
                .append("needAsk", getNeedAsk())
                .append("reCheckTag", getReCheckTag())
                .append("lastCheckCode", getLastCheckCode())
                .append("combLack", getCombLack())
                .append("socialCode", getSocialCode())
                .append("serviceUid", getServiceUid())
                .append("soaOrderNo", getSoaOrderNo())
                .append("remark", getRemark())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("platformTag", getPlatformTag())
                .append("checkResult", getCheckResult())
                .append("mainConclusion", getMainConclusion())
                .append("healthSuggestion", getHealthSuggestion())
                .append("mainCheckDoctor", getMainCheckDoctor())
                .append("takeReportType", getTakeReportType())
                .append("IsValid", getIsValid())
                .append("shopCode", getShopCode())
                .append("touchHarms", getTouchHarms())
                .append("nation", getNation())
                .append("nationality", getNationality())
                .append("headpicture", getHeadpicture())
                .append("registertype", getRegistertype())
                .append("startworkDate", getStartworkDate())
                .append("touharmDate", getTouharmDate())
                .append("mainCheckRevoke", getMainCheckRevoke())
                .append("mainCheckRevokeMark", getMainCheckRevokeMark())
                .toString();
    }
}
